package loader.controllers 
{
	import common.IDisposable;
	import loader.ILoader;
	import loader.ILoaderController;
	import loader.ILoaderModel;
	/**
	 * ...
	 * @author Luke Van In
	 */
	public class LoaderController implements ILoaderController
	{
		
		private var _model:ILoaderModel;
		
		
		public function LoaderController(model:ILoaderModel) 
		{
			this._model = model;
		}
		
		
		
		public function show():void 
		{
			this._model.isShowing = true;
		}
		
		
		public function hide():void 
		{
			this._model.isShowing = false;
		}
		
				
		public function setProgress(progress:Number):void 
		{
			this._model.progress = progress;
		}
		
		
		
		public function dispose():void
		{
			// nothing to do
		}
		
		
		
		


	}

}